﻿using System.Data.Linq.Mapping;

namespace ORM_Benchmark.Runner.Linq2Sql
{
    [Table(Name = "Products")]
    public class LinqProduct
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true, CanBeNull = false, AutoSync = AutoSync.OnInsert)]
        public int Id { get; set; }

        [Column]
        public string Name { get; set; }

        [Column]
        public string Category { get; set; }

        [Column]
        public bool Discontinued { get; set; }

    }
}
